import { Module } from '@nestjs/common';
import { BookmarkController } from './bookmark.controller';
import { BookmarkService } from './bookmark.service';
import {TypeOrmModule} from "@nestjs/typeorm";
import {Bookmark, BookmarkTagsHoard} from './bookmark.entity';
import { CategoryService } from './category/category.service';
import { CategoryController } from './category/category.controller';
import {Category} from "./category/category.entity";

@Module({
  imports:[TypeOrmModule.forFeature([Bookmark,Category,BookmarkTagsHoard])],
  controllers: [BookmarkController, CategoryController],
  providers: [BookmarkService, CategoryService]
})
export class BookmarkModule {}
